/*
 * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 *
 * This file is part of Harmattan SmashMiner OpenGL game application.
 * 
 * Harmattan SmashMiner OpenGL Example Application version 1.0.0
 *  
 * Latest update: 15.4.2011
 *
 * The Harmattan SmashMiner OpenGL example application demonstrates how to use 
 * the OpenGL ES in Harmattan devices.
 *
 * This example is provided as a starting point for 3rd party
 * developers (you) to ease the implementation of OpenGL based 
 * games. Ideas, parts of code or methodologies that this
 * example application uses can be freely used without restrictions.
 *
 * See file README.txt how to build and compile this example application
 * in the Harmattan SDK environment. 
 * 
 * See file INSTALL.txt to find out what is required to run this
 * application and how to install the application to the device or
 * alternatively in QEMU-emulator.
 *
 * The LICENSE.txt file explains the license this software is provided
 * with. A copy of the same license is included in this source file.
 * 
 */

/*
 * Copyright (C) 2011 by Nokia Corporation.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

/// \file config.h Build configurations for SmashMiner.

#ifndef CONFIG_H
#define CONFIG_H

// SmashMiner FEATURE flags:
//^^^^^^^^^^^^^^^^^^^^^^^^^^^
// un-commenting (enabling) these features will give
// the best configuration for the target device.

/*! \def SMASHMINER_CONFIG_USE_OPENGL_ES_2
Build OpenGL ES 2 version
*/
#define SMASHMINER_CONFIG_USE_OPENGL_ES_2

/*! \def SMASHMINER_CONFIG_SET_STARTVIEW_FULLSCREEN
Sets the QML start view into fullscreen mode
*/
#define SMASHMINER_CONFIG_SET_STARTVIEW_FULLSCREEN

/*! \def SMASHMINER_CONFIG_SET_GAMEVIEW_FULLSCREEN
Sets the game view into fullscreen mode
*/
#define SMASHMINER_CONFIG_SET_GAMEVIEW_FULLSCREEN

/*! \def SMASHMINER_CONFIG_ENABLE_ROTATION_SENSOR
Enable rotation sensor
*/
#define SMASHMINER_CONFIG_ENABLE_ROTATION_SENSOR

/*! \def SMASHMINER_CONFIG_ENABLE_ACCELERATION_SENSOR
Enable acceleration sensor
*/
#define SMASHMINER_CONFIG_ENABLE_ACCELERATION_SENSOR

/*! \def SMASHMINER_CONFIG_ENABLE_GAME_REWIND_MODE
Enable rewind mode
*/
#define SMASHMINER_CONFIG_ENABLE_GAME_REWIND_MODE

/*! \def SMASHMINER_CONFIG_ENABLE_PARTICLE_BLEND
Enable OpenGL ES 2 Particle Blending
*/
#define SMASHMINER_CONFIG_ENABLE_PARTICLE_BLEND

// SmashMiner SOUND-ENGINE flags:
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// select just one of the sound engine options, or none.
/*! \def SMASHMINER_CONFIG_ENABLE_SOUND_ENGINE_PULSE_AUDIO
Pulse Audio sound engine implementation.
Select just one of the sound engine options, or none.
PulseAudio sound engine implementation is preferred.
\sa #SMASHMINER_CONFIG_ENABLE_SOUND_ENGINE_QAUDIO
*/
#define SMASHMINER_CONFIG_ENABLE_SOUND_ENGINE_PULSE_AUDIO

/*! \def SMASHMINER_CONFIG_ENABLE_SOUND_ENGINE_QAUDIO
QAudio sound engine implementation.
Select just one of the sound engine options, or none.
\sa #SMASHMINER_CONFIG_ENABLE_SOUND_ENGINE_PULSE_AUDIO
*/
//#define SMASHMINER_CONFIG_ENABLE_SOUND_ENGINE_QAUDIO

// SmashMiner MUSIC-PLAYER flags:
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/*! \def SMASHMINER_CONFIG_ENABLE_MUSIC_PLAYER_GSTREAMER
Enable GStreamer music player
*/
#define SMASHMINER_CONFIG_ENABLE_MUSIC_PLAYER_GSTREAMER

// SmashMiner TEST/DEBUG option flags:
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// commenting out (disabling) these features will give
// the best configuration for the target device.
/*! \def SMASHMINER_CONFIG_ENABLE_DEBUG_CHECKS
Enables runtime debug checks
*/
//#define SMASHMINER_CONFIG_ENABLE_DEBUG_CHECKS

/*! \def SMASHMINER_CONFIG_ENABLE_CONTROL_GAUGES
Enables control gauges on game screen
*/
//#define SMASHMINER_CONFIG_ENABLE_CONTROL_GAUGES

/*! \def SMASHMINER_CONFIG_ENABLE_DESKTOP_CONTROLS
Enables mouse controlling
*/
//#define SMASHMINER_CONFIG_ENABLE_DESKTOP_CONTROLS

/*! \def SMASHMINER_CONFIG_ENABLE_TESTINGMODE
Enables testing mode
*/
//#define SMASHMINER_CONFIG_ENABLE_TESTINGMODE

/*! \def SMASHMINER_CONFIG_ENABLE_FPS_PROFILING
Enables FPS profiling
*/
//#define SMASHMINER_CONFIG_ENABLE_FPS_PROFILING

/*! \def SMASHMINER_CONFIG_ENABLE_HYPERJUMP_DESTINATION_VISUALIZATION
Enables drawing hyperjump destination on screen when refining
*/
//#define SMASHMINER_CONFIG_ENABLE_HYPERJUMP_DESTINATION_VISUALIZATION

// some additional configuration switches:
//^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

// an optional debug switch for PulseAudio.
#ifdef SMASHMINER_CONFIG_ENABLE_SOUND_ENGINE_PULSE_AUDIO
/*! \def DEBUG_PULSE_AUDIO
Debug pulse audio sound engine
*/
#define DEBUG_PULSE_AUDIO
#endif

// an optional mp3 playback switch for GStreamer.
#ifdef SMASHMINER_CONFIG_ENABLE_MUSIC_PLAYER_GSTREAMER
/*! \def SMASHMINER_CONFIG_ENABLE_MUSIC_PLAYER_GSTREAMER
Forces the MP3 playback to be used. OGG will be ignored.
*/
//#define SMASHMINER_CONFIG_GSTREAMER_FORCE_MP3_PLAYBACK
#endif

// optionally suppress all qDebug() output.
#ifndef SMASHMINER_CONFIG_ENABLE_DEBUG_CHECKS
#define QT_NO_DEBUG_OUTPUT
#endif

#endif  // CONFIG_H
